import time
import logging

from common.base import BasePage
from common.uitls.doLog import DoLog

dolog = DoLog()
dolog = dolog.ste_get_logger(logging.INFO)
from selenium.webdriver.chrome import webdriver
from selenium.webdriver.common.by import By

class Shangpinxq(BasePage):

    def shangpinxq(self):
        # ss.find_element_by_xpath("//a[@title='爱冕－白18K金钻石戒指']").click()
        self.getElement("//a[@title='爱冕－白18K金钻石戒指']").click()

        time.sleep(5)

if __name__ == '__main__':
    l = Shangpinxq()
    l.shangpinxq()
